package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

import java.util.List;

/**
 * 售后工单服务分类对象 zsyh_after_service_type
 * 
 * @author yuexl
 * @date 2022-09-01
 */
public class ZsyhAfterServiceType extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 服务类型名称 */
    @Excel(name = "服务类型名称")
    private String serviceName;

    /** 服务类型图标 */
    @Excel(name = "服务类型图标")
    private String serviceImage;

    /** 服务类型等级 */
    @Excel(name = "服务类型等级")
    private String serviceLevel;

    private String serviceParentId;

    private List<ZsyhAfterServiceType> children;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setServiceName(String serviceName) 
    {
        this.serviceName = serviceName;
    }

    public String getServiceName() 
    {
        return serviceName;
    }
    public void setServiceImage(String serviceImage) 
    {
        this.serviceImage = serviceImage;
    }

    public String getServiceImage() 
    {
        return serviceImage;
    }
    public void setServiceLevel(String serviceLevel) 
    {
        this.serviceLevel = serviceLevel;
    }

    public String getServiceLevel() 
    {
        return serviceLevel;
    }

    public String getServiceParentId() {
        return serviceParentId;
    }

    public void setServiceParentId(String serviceParentId) {
        this.serviceParentId = serviceParentId;
    }

    public List<ZsyhAfterServiceType> getChildren() {
        return children;
    }

    public void setChildren(List<ZsyhAfterServiceType> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceName", getServiceName())
            .append("parentId", getParentId())
            .append("serviceImage", getServiceImage())
            .append("serviceLevel", getServiceLevel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

}
